package org.example.task.service.impl;

import org.example.task.domain.Task;
import org.example.task.service.TaskService;
import org.example.task.service.mapper.TaskMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TaskServiceImpl implements TaskService {

    @Autowired
    private TaskMapper taskMapper;

    @Override
    public Task getTask(Task task) {
        return taskMapper.getTask(task);
    }
}
